State Model To Block Diagram Representation